home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / CIRC3.PAK / CIRC3.ODL < prev    next >
Text File  |  1997-05-06  |  3KB  |  86 lines

  1. // circ3.odl : type library source for OLE Custom Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (circ3.tlb) that will become a resource in
  5. // circ3.ocx.
  6.  
  7. // This is a part of the Microsoft Foundation Classes C++ library.
  8. // Copyright (C) 1992-1994 Microsoft Corporation
  9. // All rights reserved.
  10. //
  11. // This source code is only intended as a supplement to the
  12. // Microsoft Foundation Classes Reference and the
  13. // Books Online documentation provided with the library.
  14. // See these sources for detailed information regarding the
  15. // Microsoft Foundation Classes product.
  16.  
  17. #include <olectl.h>
  18.  
  19. [ uuid(9DBAFCD2-592F-101B-85CE-00608CEC297B), version(1.0),
  20.   helpstring("Circ3 OLE Custom Control module"), control ]
  21. library Circ3Lib
  22. {
  23.     importlib(STDOLE_TLB);
  24.     importlib(STDTYPE_TLB);
  25.  
  26.     //  Primary dispatch interface for CCirc3Ctrl
  27.  
  28.     [ uuid(9DBAFCD0-592F-101B-85CE-00608CEC297B),
  29.       helpstring("Dispatch interface for Circ3 Control"), hidden ]
  30.     dispinterface _DCirc3
  31.     {
  32.         properties:
  33.             // NOTE - ClassWizard will maintain property information here.
  34.             //    Use extreme caution when editing this section.
  35.             //{{AFX_ODL_PROP(CCirc3Ctrl)
  36.             [id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
  37.             [id(2)] boolean CircleShape;
  38.             [id(3)] short CircleOffset;
  39.             [id(1)] OLE_COLOR FlashColor;
  40.             [id(DISPID_CAPTION), bindable, requestedit] BSTR Caption;
  41.             [id(DISPID_FONT), bindable] IFontDisp* Font;
  42.             [id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
  43.             [id(4), bindable] BSTR Note;
  44.             //}}AFX_ODL_PROP
  45.  
  46.         methods:
  47.             // NOTE - ClassWizard will maintain method information here.
  48.             //    Use extreme caution when editing this section.
  49.             //{{AFX_ODL_METHOD(CCirc3Ctrl)
  50.             //}}AFX_ODL_METHOD
  51.  
  52.             [id(DISPID_ABOUTBOX)] void AboutBox();
  53.     };
  54.  
  55.     //  Event dispatch interface for CCirc3Ctrl
  56.  
  57.     [ uuid(9DBAFCD1-592F-101B-85CE-00608CEC297B),
  58.       helpstring("Event interface for Circ3 Control") ]
  59.     dispinterface _DCirc3Events
  60.     {
  61.         properties:
  62.             //  Event interface has no properties
  63.  
  64.         methods:
  65.             // NOTE - ClassWizard will maintain event information here.
  66.             //    Use extreme caution when editing this section.
  67.             //{{AFX_ODL_EVENT(CCirc3Ctrl)
  68.             [id(1)] void ClickIn(OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
  69.             [id(2)] void ClickOut();
  70.             //}}AFX_ODL_EVENT
  71.     };
  72.  
  73.     //  Class information for CCirc3Ctrl
  74.  
  75.     [ uuid(9DBAFCCF-592F-101B-85CE-00608CEC297B),
  76.       helpstring("Circ3 Control"), control ]
  77.     coclass Circ3
  78.     {
  79.         [default] dispinterface _DCirc3;
  80.         [default, source] dispinterface _DCirc3Events;
  81.     };
  82.  
  83.  
  84.     //{{AFX_APPEND_ODL}}
  85. };
  86.